package com.young.canal.serializer;

import java.io.Serializable;
import java.util.List;

/**
 * @description：
 * @author: yangyahui01
 * @date: 12/11/24 7:04 PM
 */
public class EventRecord implements Serializable {

    private EventHeader header;
    private String sql;
    private boolean ddl;

    private String ddlSchemaName;

    private int rowCount;

    private List<EventRowData> rowChange;

    public EventHeader getHeader() {
        return header;
    }

    public void setHeader(EventHeader header) {
        this.header = header;
    }

    public String getSql() {
        return sql;
    }

    public void setSql(String sql) {
        this.sql = sql;
    }

    public boolean isDdl() {
        return ddl;
    }

    public void setDdl(boolean ddl) {
        this.ddl = ddl;
    }

    public String getDdlSchemaName() {
        return ddlSchemaName;
    }

    public void setDdlSchemaName(String ddlSchemaName) {
        this.ddlSchemaName = ddlSchemaName;
    }

    public int getRowCount() {
        return rowCount;
    }

    public void setRowCount(int rowCount) {
        this.rowCount = rowCount;
    }

    public List<EventRowData> getRowChange() {
        return rowChange;
    }

    public void setRowChange(List<EventRowData> rowChange) {
        this.rowChange = rowChange;
    }
}

